/* Copyright (c) 2004-2024 peigen.info. All rights reserved. */

package info.peigen.hotpot.manage.core.service.facade;

import info.peigen.hotpot.manage.core.service.order.OrganizationCreateOrder;
import info.peigen.hotpot.manage.core.service.order.OrganizationEditOrder;
import info.peigen.hotpot.manage.core.service.result.OrganizationCreateResult;
import info.peigen.hotpot.manage.core.service.result.OrganizationEditResult;

/**
 * <b>(OrganizationServiceFacade)</b>
 * "组织机构" 门面服务
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2024-06-28
 */
public interface OrganizationServiceFacade {
    /**
     * 创建接口
     *
     * @param order OrganizationCreateOrder
     *
     * @return OrganizationCreateResult
     */
    OrganizationCreateResult create(OrganizationCreateOrder order);

    /**
     * 编辑接口
     *
     * @param order OrganizationEditOrder
     *
     * @return OrganizationEditResult
     */
    OrganizationEditResult edit(OrganizationEditOrder order);
}